.search-page {
  min-height: 100vh;
  background-color: #f8f8f8;

  .header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: #fff;

    .back-btn {
      margin-right: 10px;
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #666;
    }

    .search-container {
      flex: 1;
      display: flex;
      align-items: center;

      .search-input-box {
        flex: 1;
        background-color: #f5f5f5;
        border-radius: 8px;
        padding: 10px 16px;
        height: 70px;
        display: flex;
        align-items: center;
      }

      .search-input {
        width: 100%;
        height: 100%;
        font-size: 28px;
        color: #333;

        &::placeholder {
          color: #999;
        }
      }

      .custom-search-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 10px;
        height: 70px;
        min-width: 80px;
        padding: 0 15px;
        font-size: 26px;
        border-radius: 8px;
        font-weight: bold;
        background-color: #ff6b6b;
        color: white;
        position: relative;
        z-index: 5;

        &:active {
          opacity: 0.8;
        }
      }
    }
  }

  .search-results {
    padding: 15px;
    min-height: calc(100vh - 115px);

    .results-count {
      margin-bottom: 15px;
      font-size: 26px;
      color: #666;

      .count {
        color: #ff6b6b;
        font-weight: bold;
        font-size: 28px;
      }
    }

    .results-container {
      height: calc(100vh - 180px);
    }

    .recipe-item {
      display: flex;
      background: #fff;
      padding: 15px;
      border-radius: 10px;
      margin-bottom: 15px;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      position: relative;

      .recipe-image {
        width: 100px;
        height: 100px;
        border-radius: 8px;
        background-color: #eee;
        margin-right: 15px;
      }

      .recipe-info {
        flex: 1;

        .recipe-name {
          font-size: 28px;
          font-weight: bold;
          color: #333;
          margin-bottom: 10px;
          display: block;
        }

        .recipe-tags {
          margin-bottom: 10px;

          .tag {
            display: inline-block;
            font-size: 24px;
            padding: 4px 8px;
            background: #f8f8f8;
            color: #666;
            border-radius: 4px;
            margin-right: 8px;

            &.vegetarian {
              background: #e8f5e9;
              color: #4caf50;
            }
          }
        }

        .recipe-ingredients {
          font-size: 24px;
          color: #999;
          display: block;
        }
      }

      .detail-icon {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #ff6b6b;
        font-size: 28px;
      }
    }

    .empty-container {
      padding: 30px 0;

      .taroify-empty {
        margin-top: 20px;
        --empty-description-font-size: 26px;
        --empty-description-line-height: 1.5;
      }
    }

    .loading-container {
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 200px;
      width: 100%;
    }
  }
}
